package com.smxy.daydayup.service.serviceImpl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.smxy.daydayup.mapper.StudentClassMapper;
import com.smxy.daydayup.pojo.StudentClass;
import com.smxy.daydayup.service.StudentClassService;

/**
 * @team daydayup
 * @time 2021-12-06 21:45
 */
@Service
public class StudentClassServiceImpl implements StudentClassService {

    @Resource
    private StudentClassMapper studentClassMapper;

    @Override
    public int deleteByPrimaryKey(String studentClassId) {
        return studentClassMapper.deleteByPrimaryKey(studentClassId);
    }

    @Override
    public int insert(StudentClass record) {
        return studentClassMapper.insert(record);
    }

    @Override
    public int insertSelective(StudentClass record) {
        return studentClassMapper.insertSelective(record);
    }

    @Override
    public StudentClass selectByPrimaryKey(String studentClassId) {
        return studentClassMapper.selectByPrimaryKey(studentClassId);
    }

    @Override
    public int updateByPrimaryKeySelective(StudentClass record) {
        return studentClassMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(StudentClass record) {
        return studentClassMapper.updateByPrimaryKey(record);
    }

}



